import axios from 'axios'
import { defineStore } from 'pinia'
// import { computed, ref } from 'vue'

const userStore = defineStore('user', {
  state: () => ({}),
  getters: {},
  actions: {
    sends: async () => {
      let { data: res } = await axios.get('http://152.136.34.158:8080/indexs/getStudyModule')
      console.log(res)
    }
  }
})

export default userStore
